Skip to content

Promote connection_tracking_policy field in google_compute_region_backend_service from beta to GA#17396

Merged
BBBmau merged 1 commit intoGoogleCloudPlatform:mainfrom
xingyazhao:connection-tracking-ga
May 4, 2026
Merged

Promote connection_tracking_policy field in google_compute_region_backend_service from beta to GA#17396
BBBmau merged 1 commit intoGoogleCloudPlatform:mainfrom
xingyazhao:connection-tracking-ga

Conversation

@xingyazhao
Copy link
Copy Markdown
Contributor

This change promotes the connection_tracking_policy field in google_compute_region_backend_service resource from beta to GA. This allows users to configure connection tracking policy for regional backend services in the google provider.

The corresponding acceptance test is also updated to test it in the google provider.

compute: added `connection_tracking_policy` field to `google_compute_region_backend_service` resource (ga)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@BBBmau, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@modular-magician
Copy link
Copy Markdown
Collaborator

modular-magician commented May 1, 2026

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 239b8c0:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 4 files changed, 255 insertions(+), 5 deletions(-)
google-beta provider View Diff 2 files changed, 4 insertions(+), 8 deletions(-)
terraform-google-conversion View Diff 4 files changed, 181 insertions(+), 1 deletion(-)
Open in Cloud Shell View Diff 1 file changed, 1 insertion(+), 3 deletions(-)

Test report

Important

Manual Verification Required (GA-only additions)

The following tests are GA-only additions and cannot be run by VCR in Beta mode. Please verify them manually:

🔴 TestAccComputeRegionBackendService_regionBackendServiceConnectionTrackingExample

Analytics

Total Tests Passed Skipped Affected
1422 1330 91 1
Affected Service Packages
  • compute

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccComputeRegionBackendService_regionBackendServiceConnectionTrackingExample

View the build log


Step 2: Recording Mode

Test Name Recording Mode Replaying Rerun
TestAccComputeRegionBackendService_regionBackendServiceConnectionTrackingExample 🟢 Passed [Debug log] 🟢 Passed

Caution

Issues requiring attention before PR completion

🔴 Manual Verification Required: New tests were added that are skipped in presubmit tests. See the "Manual Verification Required" section at the top for details.

Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer.

View the build log or the debug logs folder for detailed results.

@xingyazhao, @BBBmau VCR tests complete for 239b8c0!

tracking_mode = "PER_SESSION"
connection_persistence_on_unhealthy_backends = "NEVER_PERSIST"
idle_timeout_sec = 60
enable_strong_affinity = true
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wouldn't expect a value in a test config to be changed on a promotion to GA PR. is there a reason behind this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enable_strong_affinity field is currently in the folder list phase, and this test with v1 API will return a 400 error if this field is set to true. The field's status is also mentioned in the public API doc (This option is not available publicly).

Copy link
Copy Markdown
Collaborator

@BBBmau BBBmau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! the Beta -> GA test returns passing when running in TeamCity Build Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants